package com.online.questionnaire;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author administer
 */
@SpringBootApplication
@MapperScan("com.online.questionnaire.mapper")
//启用定时任务
@EnableScheduling
//启用切面编程
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
public class QuestionnaireBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(QuestionnaireBackendApplication.class, args);
    }

}
